﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AshAnalysis.aspx.cs" Inherits="Admin_AshAnalysis" Title="Admin ~ Ash Analysis" %>
<%@ Register src="../Usercontrols/Footer.ascx" tagname="Footer" tagprefix="uc1" %>
<%@ Register src="../Usercontrols/Header.ascx" tagname="Header" tagprefix="uc2" %>
<%@ Register src="../Usercontrols/Menu1.ascx" tagname="Menu1" tagprefix="uc3" %>
<%@ Register src="../Usercontrols/Menu2.ascx" tagname="Menu2" tagprefix="uc4" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <table cellpadding="0" cellspacing="0" width="100%">
    <tr>         
        <td align="center" >
           <table cellpadding="0" cellspacing="0" width="900px" >
             
              <tr>
                 <td align="center"  valign="top"> 
                     <uc2:Header ID="Header1" runat="server" />
                 </td>
              </tr>
               
              <tr>
                    <td align="right">
                       <uc3:Menu1 ID="Menu11" runat="server" />
                    </td>
               </tr>
                    
              <tr>
                   <td align="center" valign="top" >        
                     
                     <table cellpadding="5" cellspacing="0" width="100%" class="mainTableBkg">
                        
                        <tr valign="top" align="left">
                            <td>
                                    <table >
                                               <tr>
                                                    <td colspan="3" class="ashBkg">
                                                         <uc4:Menu2 ID="Menu21" runat="server" />
                                                    </td>
                                              </tr>
                                                
                                               <tr valign="top" align="left" >                                    
                                                                <td> 
                                                                    <table>
                                                                        <tr>
                                                                            <td class="adminHeading">ASH ANALYSIS</td> 
                                                                            <td align="left" > <asp:Label ID="lblMessage" runat="server" CssClass="messageLabel"></asp:Label>  </td>
                                                                            <td align="right" ><asp:Label ID="lblExpdetails" runat="server" CssClass="informationLabe" ></asp:Label></td>
                                                                          </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>   
                                                            
                                               <tr id="trAshAnalTextbox" runat="server"  valign="top" align="left">
                                                    <td>
                                                        <table >
                                                    
                                                                    <tr class="altanateAshBkg" id="trUserCode" runat="server" visible="false" >
                                                                        <td class='label'>AshAnalId </td> 
                                                                        <td><asp:TextBox ID="txtAshAnalId" runat="server" cssclass='textBox'  MaxLength="50"></asp:TextBox></td>
                                                                    </tr> 
                                                                    
                                                                    <tr class="ashBkg">
                                                                        <td class='label'>Production Method<span class='adminAsterix'> </span></td>
                                                                        <td style="height: 25px">  <asp:TextBox ID="txtAshProductionMethod" runat="server"  cssclass='textBox' Width='543px' MaxLength="300" Height="19px"></asp:TextBox></td>
                                                                    </tr> 
                                                                    
                                                                      <tr>
                                                                          <td colspan="2">
                                                                            <table> 
                                                                                                                      
                                                                                <tr class="altanateAshBkg">
                                                                                        <td class='label' style="width: 55px">Cu&nbsp; (wt%)</td>
                                                                                        <td> <asp:TextBox ID="txtCu" runat="server" CssClass="textBox" Width="25px"></asp:TextBox></td>                                                  
                                                                                        <td class='label' style="width: 68px">CO<sub>2</sub> &nbsp; (wt%)</td> 
                                                                                        <td > <asp:TextBox ID="txtCO2" runat="server" cssclass='textBox' Width='25px' MaxLength="100"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 78px">P<sub>2</sub>O<sub>5</sub> &nbsp; (wt%)</td>  
                                                                                        <td ><asp:TextBox ID="txtP2O5" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 74px">CaO &nbsp; (wt%)</td> 
                                                                                        <td> <asp:TextBox ID="txtCaO" runat="server" cssclass='textBox' Width='25px' MaxLength="100"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 67px">SiO<sub>2</sub> &nbsp; (wt%)</td> 
                                                                                        <td><asp:TextBox ID="txtSiO2" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 76px">Pb &nbsp; (wt%)</td>
                                                                                        <td style="width: 57px"><asp:TextBox ID="txtPb" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                 </tr>
                                                                                
                                                                                <tr class="ashBkg">
                                                                                        <td class='label' style="width: 55px">Cl&nbsp;&nbsp; (wt%)</td>
                                                                                        <td style="width: 57px"><asp:TextBox ID="txtCl" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 68px">TiO<sub>2</sub>&nbsp; (wt%) </td>
                                                                                        <td style="width: 70px"><asp:TextBox ID="txtTiO2" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 78px">Fe<sub>2</sub>O<sub>3</sub> &nbsp; (wt%) </td>
                                                                                        <td style="width: 66px"><asp:TextBox ID="txtFe2O3" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></sub></td>
                                                                                        <td class='label' style="width: 74px">MgO &nbsp; (wt%)</td>
                                                                                        <td style="width: 59px"><asp:TextBox ID="txtMgO" runat="server" cssclass='textBox' Width='25px' MaxLength="100"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 67px">Hg &nbsp; (wt%)</td>
                                                                                        <td><asp:TextBox ID="txtHg" runat="server" cssclass='textBox' Width='25px' MaxLength="100"></asp:TextBox></td>  
                                                                                        <td class='label' style="width: 76px">K<sub>2</sub>O &nbsp; (wt%)</td> 
                                                                                         <td style="width: 70px"><asp:TextBox ID="txtK2O" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>                                      
                                                                                  </tr >
                                                                                
                                                                                <tr class="altanateAshBkg">
                                                                                        <td class='label' style="width: 55px">Cd&nbsp; (wt%)</td>
                                                                                        <td style="width: 57px"><asp:TextBox ID="txtCd" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 68px">SO<sub>3</sub> &nbsp; (wt%)</td>
                                                                                        <td style="width: 70px"><asp:TextBox ID="txtSO3" runat="server" cssclass='textBox' Width='25px' MaxLength="100"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 78px">Al<sub>2</sub>O<sub>3</sub> &nbsp; (wt%)</td>
                                                                                        <td style="width: 66px"><asp:TextBox ID="txtAl2O3" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                        <td class='label' style="width: 74px">Na<sub>2</sub>O &nbsp; (wt%)</td>
                                                                                        <td style="width: 59px"><asp:TextBox ID="txtNa2O" runat="server" cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                      <td class='label' style="width: 67px">Cr &nbsp; (wt%)</td>
                                                                                         <td style="width: 59px"><asp:TextBox ID="txtCr" runat="server"  cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                         <td class='label' style="width: 76px">Mn &nbsp; (wt%)</td>
                                                                                        <td style="width: 66px"><asp:TextBox ID="txtMn" runat="server"  cssclass='textBox' Width='25px' MaxLength="10"></asp:TextBox></td>
                                                                                </tr>
                                                        
                                                                             </table>
                                                                          </td>
                                                                     </tr>
                                                                     
                                                                      <tr>
                                                                            <td colspan="2">
                                                                                <table >
                                                                                    <tr>
                                                                                        <td>
                                                                                            <asp:ImageButton ID="ImageButton1" runat="server" 
                                                                                                ImageUrl="~/Images/btnSave.jpg" onclick="ImageButton1_Click" />
                                                                                        </td>                                   
                                                                                        <td>
                                                                                        <asp:Button ID="btnPreviousAshAnalysis" runat="server" Text="Previous Records" 
                                                                                                CssClass="button" onclick="btnPreviousAshAnalysis_Click" />
                                                                                        </td>
                                                                                        
                                                                                    </tr>
                                                                                </table>
                                                                               
                                                                            
                                                                                
                                                                            </td>
                                                                     </tr> 
                                                         
                                                             </table>                                      
                                                            </td>
                                                          </tr>
                                                 
                                               <tr id="trAshAnalysisDataGrid" runat="server"  valign="top" align="left">
                                                            <td>
                                                                <table>
                                                                    <tr valign="top" >
                                                                        <td>
                                                                                    <asp:GridView   AllowSorting="true" AutoGenerateEditButton="true" AllowPaging="true" AutoGenerateColumns="false" ID="dgAshAnalysis" runat="server" onrowediting="dgAshAnalysis_RowEditing" onpageindexchanging="dgAshAnalysis_PageIndexChanging" Width="850">
                                                                                                        <Columns>                                
                                                                                                            <asp:BoundField DataField ="id" HeaderText ="ID"   />
                                                                                                            <asp:BoundField  DataField="ashProdMethod" HeaderText="Method"/>
                                                                                                            <asp:BoundField  DataField="CO2" HeaderText="CO2"/>
                                                                                                            <asp:BoundField  DataField="SO3" HeaderText="SO3" />
                                                                                                            <asp:BoundField  DataField="P2O5" HeaderText="P2O5" />
                                                                                                            <asp:BoundField  DataField="SiO2" HeaderText="SiO2"/>
                                                                                                            <asp:BoundField  DataField="Fe2O3" HeaderText="Fe2O3" />
                                                                                                            <asp:BoundField  DataField="Al2O3" HeaderText="Al2O3" />
                                                                                                            <asp:BoundField  DataField="CaO" HeaderText="CaO" />
                                                                                                            <asp:BoundField  DataField="MgO" HeaderText="MgO" />
                                                                                                            <asp:BoundField  DataField="Na2O" HeaderText="Na2O" />
                                                                                                            <asp:BoundField  DataField="K2O" HeaderText="K2O" /> 
                                                                                                            <asp:BoundField  DataField="TiO2" HeaderText="TiO2" />
                                                                                                            <asp:BoundField  DataField="Pb" HeaderText="Pb"/>
                                                                                                            <asp:BoundField  DataField="Cd" HeaderText="Cd" />
                                                                                                            <asp:BoundField  DataField="Cl" HeaderText="Cl" />
                                                                                                            <asp:BoundField  DataField="Cu" HeaderText="Cu" />
                                                                                                            <asp:BoundField  DataField="Hg" HeaderText="Hg" />
                                                                                                            <asp:BoundField  DataField="Mn" HeaderText="Mn" />
                                                                                                            <asp:BoundField  DataField="Cr" HeaderText="Cr" />                                               
                                                                                                        </Columns>
                                                                                                    <HeaderStyle CssClass="gridHeading" />
                                                                                                    <AlternatingRowStyle CssClass="gridAltRowStyleStyle" />                                                                                        
                                                                                                    <RowStyle CssClass="gridRowStyle" />                                                                                       
                                                                                                    <PagerStyle />
                                                                                                    <EditRowStyle CssClass="gridEditRow" />                                     
                                                                                    </asp:GridView>
                                                                        </td>
                                                                    </tr>
                                                               </table>
                                                           </td>
                                                     </tr> 
                           
                                    </table>
                            </td>
                        </tr>               
                         
                     </table>
                     
                   </td>        
                </tr>  
                                                   
              <tr>
                        <td>    
                            <uc1:Footer ID="Footer1" runat="server" />
                        </td>
                   </tr> 
                    
             </table>
           </td> 
      </tr>
 </table> 
</asp:Content>

